.nav {
  position: relative;
  z-index: 80;
  width: 80px;
  height: 100%;
  background-color: #272822;
  -webkit-animation: fade-in 1.6s both;
  -moz-animation: fade-in 1.6s both;
  animation: fade-in 1.6s both;
}
.nav-inner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  font-size: 16px;
  text-align: center;
  line-height: 46px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.nav-item {
  position: relative;
  display: block;
  color: #fff;
  height: 46px;
  -webkit-transition: background-color 0.4s ease;
  -o-transition: background-color 0.4s ease;
  transition: background-color 0.4s ease;
}
.nav-item:hover .nav-text,
.nav-item.active .nav-text {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 4px;
  min-width: 84px;
  border-radius: 0 6px 6px 0;
}
.nav-item:hover,
.nav-item:active {
  background-color: #464646;
}
.nav-item:hover .nav-text,
.nav-item:active .nav-text {
  background-color: #464646;
}
.nav-item.active {
  background-color: #676767;
}
.nav-item.active .nav-text {
  background-color: #676767;
}
.nav-text {
  display: block;
  height: 100%;
  padding: 0 8px;
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.nav-item-tag {
  position: relative;
}
.nav-item-tag .nav-tag-wrap {
  display: none;
  position: absolute;
  top: -127px;
  left: 80px;
  z-index: 8;
  width: 300px;
  padding-left: 14px;
  box-sizing: border-box;
  -webkit-animation: fade-in-left 0.6s both;
  -moz-animation: fade-in-left 0.6s both;
  animation: fade-in-left 0.6s both;
}
.nav-item-tag .nav-tag-wrap.tag-show {
  display: block;
}
.nav-item-tag .nav-tag-arrow {
  position: absolute;
  top: 50%;
  left: -10px;
  margin-top: -8px;
  line-height: 0;
  font-size: 0;
  border-width: 8px 12px;
  border-style: solid;
  border-color: transparent #000 transparent transparent;
}
.nav-item-tag .widget-wrap {
  height: 300px;
  line-height: 22px;
  color: #fff;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.95);
  box-sizing: border-box;
}
.nav-item-tag .tag-list {
  margin-top: 14px;
  height: 232px;
  overflow-x: hidden;
  overflow-y: auto;
}
.nav-item-tag .tag-list::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.95);
}
.nav-item-tag .tag-list-item {
  float: left;
  margin-right: 6px;
  margin-bottom: 6px;
}
.nav-item-tag .tag-list-link {
  display: block;
  color: #e6e6e6;
  padding: 2px 10px;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
}
.nav-item-tag .tag-list-link:hover,
.nav-item-tag .tag-list-link:active {
  color: #e6e6e6;
  background-color: #212121;
}
.nav-mobile {
  display: none;
}
.nav-mobile-item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
}
.nav-mobile-title {
  color: #fff;
  line-height: 44px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.open-panel {
  width: 44px;
  padding: 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 44px;
  background-color: transparent;
  border: none;
  box-sizing: border-box;
}
.open-panel:focus,
.open-panel:active {
  background-color: #414141;
}
@media screen and (max-width: 960px) {
  .nav {
    width: auto;
    height: auto;
  }
  .nav-inner {
    position: static;
    height: 44px;
    font-size: 13px;
    line-height: 44px;
    background-color: #333;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
  .nav-item {
    width: 100%;
    height: 44px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
  }
  .nav-item:hover .nav-text,
  .nav-item.active .nav-text {
    position: static;
    min-width: auto;
    padding-left: 8px;
    border-radius: 0;
  }
  .nav-item-tag .nav-tag-wrap {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 44px;
    width: 100%;
    padding-left: 0;
    -webkit-animation: fade-in 0.6s both;
    -moz-animation: fade-in 0.6s both;
    animation: fade-in 0.6s both;
  }
  .nav-item-tag .nav-tag-arrow {
    display: none;
  }
  .nav-item-tag .widget-wrap {
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
  }
  .nav-mobile {
    height: 44px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
}
